t / t4135 / diff-with tab.diffon commit pack_if_possible_fn(): use ref_type() instead of is_per_worktree_ref() (a935ebd)
   1--- post        image.txt.orig  2010-08-18 20:13:31.616002255 -0500
   2+++ post        image.txt       2010-08-18 20:13:31.616002255 -0500
   3@@ -1 +1 @@
   4-preimage
   5+postimage